/**
 * desc: pane
 * author: Joe
 * date: 7/30/2018
 */

coreModule.component('nPane', {
  transclude: true,
  templateUrl: 'components/tab/pane.template.html',
  require: {
    tabCtrl: '^nTab',
  },
  bindings: {
    title: '@',
  },
  controller: function() {
    this.$onInit = function() {
      this.tabCtrl.addPane(this);
    };
  },
});
